package homework2.com.qianfeng.pojo;

public class Car {
	private String brand;
	private String color;
	private Double displacement;
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public Double getDisplacement() {
		return displacement;
	}
	public void setDisplacement(Double displacement) {
		this.displacement = displacement;
	}
	public Car(String brand, String color, Double displacement) {
		super();
		this.brand = brand;
		this.color = color;
		this.displacement = displacement;
	}
	public Car() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Car [brand=" + brand + ", color=" + color + ", displacement=" + displacement + "]";
	}
}
